package protocol

import (
	"github.com/wanchain/go-mpc/p2p/discover"
)

type StoremanManager interface {
	P2pMessage(*discover.NodeID, uint64, interface{}) error

	BroadcastMessage([]discover.NodeID, uint64, bool, interface{}) error

	SelfNodeId() *discover.NodeID

	CreateKeystore(MpcResultInterface, *[]PeerInfo, string) error

	FreshPeer(*[]discover.NodeID) error

	SignTransaction(MpcResultInterface, int, uint64) error
}
